export default [
  { path: '/', icon: 'smile',name: "接口展示",component:"./Index" },
  { path: '/user', layout: false, routes: [{ path: '/user/login', component: './User/Login' }] },
  {path: "/interfanceinfo/:id",component: "./IndexInrefanceInfo"},
  // {
  //   name: '欢迎',
  //   path: '/welcome',
  //   icon: 'smile',
  //   component: './Index',
  // },
  {
    path: '/admin',
    name: '管理页面',
    icon: 'crown',
    access: 'canAdmin',
    routes: [
      // { path: '/admin', redirect: '/admin/sub-page' },
      // { path: '/admin/sub-page', component: './Admin' },
      { icon: 'table', name: '接口管理', path: '/admin/list', component: './TableList' },
    ],
  },


  // { path: '*', layout: false, component: './404' },
];
